//package com.jt.service;
//
//import org.springframework.amqp.rabbit.annotation.RabbitListener;
//import org.springframework.amqp.rabbit.core.RabbitTemplate;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//
//import javax.annotation.Resource;
//
///*消息接收者*/
//@Service
//public class MessageReceiver {
//    @Resource
//    private RabbitTemplate rabbitTemplate;
//
//    /**
//     * @param message 消息
//     * @Description 处理消息
//     * @Author IT小辉同学
//     * @Date 2023/06/16
//     */
//    @RabbitListener(queues = "simple.hello")
//    public void handleMessage(String message) {
//        System.out.println("我收到了你的祝福: " + message);
//    }
//
//}
